package com.yootk.vo;

import org.springframework.beans.factory.annotation.Value;

public class Company {

    @Value("${company.name}")
    private String name;

    @Value("${company.homepage}")
    private String homepage;

    @Value("${company.edu}")
    private String edu;

    @Value("${company.address}")
    private Address address;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHomepage() {
        return homepage;
    }

    public void setHomepage(String homepage) {
        this.homepage = homepage;
    }

    public String getEdu() {
        return edu;
    }

    public void setEdu(String edu) {
        this.edu = edu;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "【Company】名称：" + this.name + "、主页：" + this.homepage + "、教育：" + this.edu;
    }
}
